package com.eclipse.e20200131_数据库查询方法.com.qf.app1.m2;

import java.util.List;

public class Test1 {

	public static void main(String[] args) {
		
		List<Object> list = JDBCUtils.select("select * from student", Student.class);

		list.forEach((t) -> {
			Student s = (Student) t;
			System.out.println(s.getName()+":"+s.getAge());
		});

	}

}
